<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%
    pageContext.setAttribute("basepath", request.getContextPath());
%>
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="${basepath}/order" method="post">
    name:<input type="text" name="name"><br>
    ordertime:<input type="text" name="ordertime"><br>
    totalprice:<input type="number" name="totalprice"> <br>

    status: <input type="radio" name="status" value="1" checked>已支付
    <input type="radio" name="status" value="0">未支付
    <br>
    <input type="submit" value="add"><br>
</form>
</body>
</html>